<?php
namespace  app\Common\model;
use app\common\model\BaseModel;
class Coupons extends BaseModel{
    //团购券发放
   protected  $autoWriteTimestamp=true;
   public function addone($data){
       $data["status"]=1;//已发送
       $this->save($data);
       return $this->id;
   }
    
    
}
